import request from '@/utils/request'

// 查询签到验证码列表
export function listSignConvertNo(query) {
  return request({
    url: '/admin/signConvertNo/list',
    method: 'get',
    params: query
  })
}

// 查询签到验证码详细
export function getSignConvertNo(id) {
  return request({
    url: '/admin/signConvertNo/' + id,
    method: 'get'
  })
}

// 新增签到验证码
export function addSignConvertNo(data) {
  return request({
    url: '/admin/signConvertNo',
    method: 'post',
    data: data
  })
}

// 修改签到验证码
export function updateSignConvertNo(data) {
  return request({
    url: '/admin/signConvertNo',
    method: 'put',
    data: data
  })
}

// 删除签到验证码
export function delSignConvertNo(id) {
  return request({
    url: '/admin/signConvertNo/' + id,
    method: 'delete'
  })
}
